package com.bonc.insight.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author bonc
 * @since 2022-01-14
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@Accessors(chain = true)
public class TShopUser implements Serializable{

    private static final long serialVersionUID=1L;

    @TableId(value = "id" ,type = IdType.ASSIGN_UUID)
    private String id;

    @TableField(value = "account")
    private String account;

    @TableField(value = "password")
    private String password;

    /** 与accessToken一起解码 */
    @TableField(value = "encode_string")
    private String encodeString;

}
